package com.board.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小叶
 * @since 2024年04月08日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("food")
public class Food implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "food_id", type = IdType.AUTO)
    private Integer foodId;

    @TableField("food_name")
    private String foodName;

    @TableField("food_type_id")
    private Integer foodTypeId;

    @TableField("food_type_name")
    private String foodTypeName;

    @TableField("food_state")
    private Integer foodState;

    @TableField("food_no1")
    private Integer foodNo1;

    @TableField("food_price")
    private BigDecimal foodPrice;

    @TableField("food_remakrs")
    private String foodRemakrs;

    @TableField("food_img")
    private String foodImg;

    @TableField("store_id")
    private Integer storeId;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("food_detail")
    private String foodDetail;

    @TableField("update_person")
    private String updatePerson;

    @TableField("update_time")
    private LocalDateTime updateTime;


}
